package com.jilujia.domain.user.repository;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.jilujia.domain.user.UserFollowHotel;
import com.jilujia.framework.domain.JpaBusinessRepository;

@Repository
@Transactional(readOnly = true)
public interface UserFollowHotelRepository extends JpaBusinessRepository<Long, UserFollowHotel> {

	UserFollowHotel findByUserIdAndHotelId(Long userId, Long hotelId);
}
